package com.jxkj.utils;

import java.util.Calendar;

public class IDUtil {

	public static String createToken(){
		String str =createId();
		return str.replaceAll("-", "");
	}

	public static String createId(){
//		UUID uuid=UUID.randomUUID();
//		String id=uuid.toString();
		Calendar calendar = Calendar.getInstance();
		String id = String.valueOf(calendar.getTime().getTime());
		return id;
	}

}
